package com.suredy.flow.model;

import java.util.HashMap;
import java.util.Map;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.suredy.core.mvc.model.Tree;

@JsonInclude(Include.NON_EMPTY)
public class SenderUser extends Tree {

	



	/**
	 * 
	 */
	private static final long serialVersionUID = 4006490143104073851L;
	private String unitName;
	private Boolean checked;
	private String id;

	Map<String,String> data = new HashMap<String,String>(){{put("nodeType","user");}};
	
	public String getUnitName() {
		return this.unitName;
	}

	public void setUnitName(String unitName) {
		data.put("unitName", unitName);
		this.unitName = unitName;
	}

	public Boolean isChecked() {
		
		return this.checked;
	}

	public void setChecked(Boolean checked) {
		data.put("checked", checked.toString());
		this.checked = checked;
	}

	public Boolean getChecked() {
		return checked;
	}

	
	public String getId() {
		return id;
	}

	
	public void setId(String id) {
		data.put("id", id);
		this.id = id;
	}
	
	public Map<String, String> getData() {
		return data;
	}

	
	public void setData(Map<String, String> data) {
		this.data = data;
	}

}
